<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TESTER</title>
</head>
<body>

<h1>结算接口</h1>
<p>

	</p>
<form name="form" method="post" onsubmit="javascript:return go()">
签名：<input name="sign" id="sign" value="" />  <br>
要结算的产品goods：
<textarea style="width:70%" rows="22" name="goods">[
	{
		"goods_id":"272",
		"quantity":"2",
		"spec":"默认规格"
	},
	{
		"goods_id":"252",
		"quantity":"1",
		"spec":"默认规格"
	}
]</textarea><br/>
使用积分抵扣integral_cash：<input name="integral_cash" id="integral_cash" value="" /> 0|1<br>
积分商城订单integral_order：<input name="integral_order" id="integral_order" value="" /> 0|1<br>
<input type=submit value=submit>
</form>

</body>
</html>

<script>
function go(){
	document.form.action = "/api.php?app=cart&act=jiesuan&version=&sign="+document.getElementById('sign').value;
	document.form.submit();
	return true;
}
</script>